package com.only4play;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * UserCenterCoreApplication
 *
 * @author liyuncong
 * @date 2023/11/28 09:48
 **/
@SpringBootApplication
@ComponentScan(basePackages = {"com.only4play"})
@EntityScan(basePackages = {"com.only4play.domain.entity"})
@MapperScan(basePackages = {"com.only4play.mapper"})
@EnableDiscoveryClient
public class UserCenterCoreApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserCenterCoreApplication.class, args);
    }
}
